//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#include <asm.h>
#include <regs.h>

#define INIT_STACK      0x800fe000

.extern C_SYMBOL(BspStartup)

#ifdef _EVC
    .globl  start
    .ent    start

start:
    .globl  C_SYMBOL(mainCRTStartup)
C_SYMBOL(mainCRTStartup):
#else
.global C_SYMBOL(_mainCRTStartup)
.section CODEINIT
C_SYMBOL(_mainCRTStartup):
#endif

    li      sp, INIT_STACK
	jal     C_SYMBOL(BspStartup)

#ifdef _EVC
    .end start
#endif
